package com.crm.pojo;

import java.io.Serializable;
import javax.persistence.*;

import com.alibaba.fastjson.annotation.JSONField;

import java.math.BigDecimal;
import java.sql.Timestamp;


/**
 * The persistent class for the AFTET_SALE_SERVER database table.
 * 
 */
@Entity
@Table(name="AFTET_SALE_SERVER")
@NamedQuery(name="AftetSaleServer.findAll", query="SELECT a FROM AftetSaleServer a")
public class AftetSaleServer implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(initialValue = 1, allocationSize = 1, name="AFTET_SALE_SERVER_SERVERID_GENERATOR", sequenceName="SEQ1")
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="AFTET_SALE_SERVER_SERVERID_GENERATOR")
	@Column(name="SERVER_ID")
	private Long serverId;

	@Column(name="AFTET_SALE_SERVER_IS_DEL")
	private String aftetSaleServerIsDel;

	@Column(name="CLIENT_ID")
	private BigDecimal clientId;

	private String context;

	@Column(name="EXERT_ID")
	private BigDecimal exertId;

	private String feedback;

	private String remarks;

	@Column(name="SPEND_TIME")
	private String spendTime;

	@Column(name="START_TIME")
	@JSONField(format="yyyy-MM-dd HH:mm:ss")
	private Timestamp startTime;

	@Column(name="\"STATE\"")
	private String state;

	private String theme;

	@Column(name="\"TYPE\"")
	private String type;

	private String way;

	public AftetSaleServer() {
	}

	public Long getServerId() {
		return this.serverId;
	}

	public void setServerId(Long serverId) {
		this.serverId = serverId;
	}

	public String getAftetSaleServerIsDel() {
		return this.aftetSaleServerIsDel;
	}

	public void setAftetSaleServerIsDel(String aftetSaleServerIsDel) {
		this.aftetSaleServerIsDel = aftetSaleServerIsDel;
	}

	public BigDecimal getClientId() {
		return this.clientId;
	}

	public void setClientId(BigDecimal clientId) {
		this.clientId = clientId;
	}

	public String getContext() {
		return this.context;
	}

	public void setContext(String context) {
		this.context = context;
	}

	public BigDecimal getExertId() {
		return this.exertId;
	}

	public void setExertId(BigDecimal exertId) {
		this.exertId = exertId;
	}

	public String getFeedback() {
		return this.feedback;
	}

	public void setFeedback(String feedback) {
		this.feedback = feedback;
	}

	public String getRemarks() {
		return this.remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public String getSpendTime() {
		return this.spendTime;
	}

	public void setSpendTime(String spendTime) {
		this.spendTime = spendTime;
	}

	public Timestamp getStartTime() {
		return this.startTime;
	}

	public void setStartTime(Timestamp startTime) {
		this.startTime = startTime;
	}

	public String getState() {
		return this.state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getTheme() {
		return this.theme;
	}

	public void setTheme(String theme) {
		this.theme = theme;
	}

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getWay() {
		return this.way;
	}

	public void setWay(String way) {
		this.way = way;
	}

}